import request from "@/utils/request";

// 查询责任人修改日志列表
export function listUpdateResponsibleLog(query) {
  return request({
    url: "/product/UpdateResponsibleLog/list",
    method: "get",
    params: query,
  });
}

// 查询责任人修改日志详细
export function getUpdateResponsibleLog(id) {
  return request({
    url: "/product/UpdateResponsibleLog/" + id,
    method: "get",
  });
}

// 新增责任人修改日志
export function addUpdateResponsibleLog(data) {
  return request({
    url: "/product/UpdateResponsibleLog",
    method: "post",
    data: data,
  });
}

// 修改责任人修改日志
export function updateUpdateResponsibleLog(data) {
  return request({
    url: "/product/UpdateResponsibleLog",
    method: "put",
    data: data,
  });
}

// 删除责任人修改日志
export function delUpdateResponsibleLog(id) {
  return request({
    url: "/product/UpdateResponsibleLog/" + id,
    method: "delete",
  });
}
